//
//  SelectButtonView.h
//  CZT_HN_Longrise
//
//  Created by 程虎 on 2017/5/9.
//  Copyright © 2017年 OSch. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ButtonClickBlock)(NSInteger index);


@interface LRAlertView : UIView


/**
 标题文字字体大小
 */
@property (nonatomic, strong) UIFont *titleFont;

/**
 内容文字字体大小
 */
@property (nonatomic, strong) UIFont *messageFont;

/**
 标题文字颜色
 */
@property (nonatomic, strong) UIColor *titleColor;
/**
 内容文字颜色
 */
@property (nonatomic, strong) UIColor *messageColor;

/**
 按钮控件title数组 设置顺序（从上往下 0 ~ ...）
 */
@property (nonatomic, strong) NSArray *btnTitlesAry;

/**
 按钮控件颜色数组 设置顺序（从上往下 0 ~ ...）
 */
@property (nonatomic, strong) NSArray *btnColorAry;

/**
 按钮控件背景颜色数组 设置顺序（从上往下 0 ~ ...）
 */
@property (nonatomic, strong) NSArray *btnBackGroundColorAry;

@property (nonatomic, copy) ButtonClickBlock btnClickBlock;


- (instancetype)initWithAlertTitle:(NSString *)titles Message:(NSString *)message ButtonTitle:(NSString *)cancelTitles OtherTitle:(NSString *)otherTitles;

- (instancetype)initWithCustomView:(UIView *)view dismissWhenTouchedBackground:(BOOL) isDismiss;

- (void)showAlert;
@end
